package com.ideal.frame.node.netty;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @description:
 * @author: xuyang
 * @date: 2021/9/2 9:43
 */
@Data
@ToString
public class NettyMsg implements Serializable {
    private long nodeId;
    private String nodeName;
    private String message;

    public NettyMsg(){}

    public NettyMsg(long nodeId, String nodeName, String message) {
        this.nodeId = nodeId;
        this.nodeName = nodeName;
        this.message = message;
    }
}
